../../../../../../lib/+mp/sm_quad_cost.m